package erp.server.order.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UseResource {
    @NotBlank
    private int userID; //用户ID

    @NotBlank
    private int resourceID;//资源ID

    @NotBlank
    private String username;//用户名

    @NotBlank
    private String resourceName;//资源名称

    private Date startTime;//开始时间

    @NotBlank
    private Date endTime;//结束时间

    private String message;//消息或备注
}
